package com.marver.boot.user.service;

import com.marver.boot.user.bean.Category;
import com.marver.boot.user.mapper.CategoryMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author marver
 * @Description
 * @date 2019/4/12 17:27
 */
@Service
public class CategoryService {
    @Autowired
    private CategoryMapper categoryMapper;

    public Category getCategory(){
        return categoryMapper.selectByPrimaryKey(1L);
    }
}
